package com.yingxue.demo.service;

import com.yingxue.demo.entity.User;
import com.yingxue.demo.vo.req.LoginReqVO;
import com.yingxue.demo.vo.resp.LoginRespVO;

/**
 * @Package: com.company.scaffold.service
 * @Author: Mr.Waves
 * @Date: 2020-03-17 23:47
 * @Description:
 **/
public interface UserService {
    LoginRespVO login(LoginReqVO loginReqVO);

    User getUserByUsername(String username);

    void logout(String accessToken, String refreshToken);

    User getUserById(Long id);
}
